import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SPublicMiniPlayer } from "./SPublicMiniPlayer";
type int = number;
//class SArenaCrossPlayerResult
    
    export  class SArenaCrossPlayerResult
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.miniPlayer.__write(arg1);
            arg1.writeInt(this.lifePer);
            arg1.writeInt(this.warfare);
            arg1.writeInt(this.totalHurt);
            arg1.writeInt(this.totalCure);
            arg1.writeInt(this.winNum);
            arg1.writeInt(this.loseNum);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.miniPlayer = new SPublicMiniPlayer();
            this.miniPlayer.__read(arg1);
            this.lifePer = arg1.readInt();
            this.warfare = arg1.readInt();
            this.totalHurt = arg1.readInt();
            this.totalCure = arg1.readInt();
            this.winNum = arg1.readInt();
            this.loseNum = arg1.readInt();
            return;
        }

        public /* var */miniPlayer: SPublicMiniPlayer;

        public /* var */lifePer: int;

        public /* var */warfare: int;

        public /* var */totalHurt: int;

        public /* var */totalCure: int;

        public /* var */winNum: int;

        public /* var */loseNum: int;
    }
